package com.chen.Dome4proxy;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Star implements StarService{
    private String name;
//    private String sex;
    @Override
    public void sing(String name) {
        System.out.println(this.name+"演唱了"+name);

    }

    @Override
    public String dance() {
        System.out.println(this.name+"跳了 dance");
        return "谢谢大家";
    }
}
